package cn.kgc.springbootday04.mapper;

import cn.kgc.springbootday04.cache.RedisCache;
import cn.kgc.springbootday04.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;

/**
 * @Entity cn.kgc.springbootday04.entity.Student
 */
@CacheNamespace (implementation = RedisCache.class)    //开启缓存
public interface StudentMapper extends BaseMapper<Student> {

}




